package com.OrderingServer.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ProductCategory",description = "餐饮类别实体")
public class ProductCategory {
    @TableId(value = "category_id",type = IdType.AUTO)
    @ApiModelProperty(value = "餐饮类别ID",required = true,example = "1")
    private int categoryId;
    @ApiModelProperty(value = "餐饮类别名",required = true,example = "风味小吃")
    private String categoryName;
    @ApiModelProperty(value = "餐饮类别",required = true,example = "1")
    private String categoryType;
    @ApiModelProperty(value = "餐饮类别创建时间",required = true,example = "2025-08-10 22:00:32")
    private String createTime;
    @ApiModelProperty(value = "餐饮类别更新时间",required = true,example = "2025-08-10 22:00:32")
    private String updateTime;
    @ApiModelProperty(value = "餐饮类别删除状态",required = true,example = "0")
    private String del;

    public ProductCategory(int categoryId, String del) {
        this.categoryId = categoryId;
        this.del = del;
    }
}
